package light.head.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table
public class Log implements Serializable {

	private static final long serialVersionUID = 9003350145549217415L;
	
	
	private Integer code;
	private Integer ic;							// 业务表流水号
	private String hc;							// 操作编号
	private Integer cu;							// 创建用户编号
	private Date ct = new Date();				// 创建时间
	


	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}

	@Column
	public Integer getCu() {
		return cu;
	}

	@Column
	public String getHc() {
		return hc;
	}

	@Column
	public Date getCt() {
		return ct;
	}

	@Column
	public Integer getIc() {
		return ic;
	}

	
	
	
	
	
	

	public void setCode(Integer code) {
		this.code = code;
	}
	public void setCu(Integer cu) {
		this.cu = cu;
	}
	public void setHc(String hc) {
		this.hc = hc;
	}
	public void setCt(Date ct) {
		this.ct = ct;
	}
	public void setIc(Integer ic) {
		this.ic = ic;
	}
}
